Affiliate API - Get Hotels Rooms Grids( getHotelsRoomsGrids )

Navigate to Affiliate API

Details

  • CustomActionName get-hotels-rooms-grids
  • Name Get Hotels Rooms Grids
  • Description Find room grid information for a specified request.
  • MethodGroup Inventory Service

Parameters

  • q
    Type String
    Description The hotel[s] you wish to obtain a price grid for. If you wish to obtain multiple hotels data, supply 'q' as a comma separated list. <br />NOTE: If not supplied with optional parameters, the grid will default to the following data: <br />* checkin = today <br />* nights = 3 <br />* adults = 2 <br />* children = 0 <br />
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&webid=45">/api/get-hotels-rooms-grids?q=34604&webid=45</a>
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604,98609&webid=45">/api/get-hotels-rooms-grids?q=34604,98609&webid=45</a>
  • r
    Type String
    Description The rooms[s] you wish to obtain a price grid for. If you wish to obtain multiple rooms data, supply 'q' as a comma separated list. Hotels and Rooms cannot be specified in the same request. <br />NOTE: If not supplied with optional parameters, the grid will default to the following data: <br />* checkin = today <br />* nights = 3 <br />* adults = 2 <br />* children = 0 <br />
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?r=1097149&webid=45">/api/get-hotels-rooms-grids?r=1097149&webid=45</a>
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?r=1097149,961973&webid=45">/api/get-hotels-rooms-grids?r=1097149,961973&webid=45</a>
  • includedetails
    Type Boolean
    Description Include property information with the grid data.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&includedetails=true&webid=45">/api/get-hotels-rooms-grids?q=34604&includedetails=true&webid=45</a>
  • checkin
    Type String
    Description Check In: The date for the start of the grid.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&checkin=2011-04-21">/api/get-hotels-rooms-grids?q=34604&checkin=2011-04-21</a>
  • nights
    Type Int32
    Description Nights: The number of nights stay until check-out.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&nights=7&webid=45">/api/get-hotels-rooms-grids?q=34604&nights=7&webid=45</a>
  • adults
    Type Int32
    Description Adults: The number of adult guests.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&adults=4&webid=45">/api/get-hotels-rooms-grids?q=34604&adults=4&webid=45</a>
  • children
    Type Int32
    Description Children: The number of children guests.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&children=2&webid=45">/api/get-hotels-rooms-grids?q=34604&children=2&webid=45</a>
  • private
    Type String
    Description If you wish to include private apartments with normal results, set to <em>include</em>. <br />If you wish to ONLY search for private apartments, you need to set this to <em>true</em>. <br />
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=146793&private=include&webid=45">/api/get-hotels-rooms-grids?q=146793&private=include&webid=45</a>
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=146793&private=true&webid=45">/api/get-hotels-rooms-grids?q=146793&private=true&webid=45</a>
  • cb
    Type String
    Description Define a callback function for cross-site ajax.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&webid=45&cb=jsonpFEBC23945A">/api/get-hotels-rooms-grids?q=34604&webid=45&cb=jsonpFEBC23945A</a>
  • currency
    Type String
    Description Set the currency you want the rates to be returned in. You use the 3 character country iso code. eg AUD = Australia.
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&children=2&currency=AUD&webid=45">/api/get-hotels-rooms-grids?q=34604&children=2&currency=AUD&webid=45</a>
  • ShowInclusions
    Type Boolean
    Description Toggles if inclusions are included in the response
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&children=2&ShowInclusions=true&webid=45">/api/get-hotels-rooms-grids?q=34604&children=2&ShowInclusions=true&webid=45</a>
  • ShowMinNights
    Type Boolean
    Description Toggles if min nights are included in the response
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&children=2&ShowMinNights=true&webid=45">/api/get-hotels-rooms-grids?q=34604&children=2&ShowMinNights=true&webid=45</a>
  • voucherCode
    Type String
    Description Voucher code to apply to the returned rates
    Example <a class="showCode" href="/api/get-hotels-rooms-grids?q=34604&children=2&voucherCode=DISCOUNT&webid=45">/api/get-hotels-rooms-grids?q=34604&children=2&voucherCode=DISCOUNT&webid=45</a>
  • webid
    Type Int32
    Description The affiliate id for the message you are requesting.
    Required true
  • callback
    Type String
    Description Define a callback function for cross-site ajax
  • IgnoreCache
    Type Boolean
  • ShowError
    Type Boolean

Faults